using System;
using NCommet.Core;
using System.Collections.Generic;
using NCommet.Core.Services;
using NCommet.Core.Agents;

namespace NCommet.Modules.TypedTreeValidatorTest
{

    /// <summary>
    /// Content class for an elementary blog.
    /// </summary>
    [Serializable]
    public class Blog : ContentBase
    {
        private string title;

        /// <summary>
        /// The title of the blog.
        /// </summary>
        /// <remarks>
        /// The property has been decorated with the <see cref="NCommet.Core.IndexableAttribute"/> with a key value of 2.
        /// </remarks>
        [Indexable(2)]
        public virtual string Title
        {
            get { return title; }
            set { title = value; }
        }

    }
}
